extends Node2D

var bullet_speed = 300

func _ready() -> void:
	# 超时删除子弹
	await  get_tree().create_timer(3).timeout
	queue_free()

func _physics_process(delta: float) -> void:
	# 移动
	position += Vector2(bullet_speed,0) * delta
